package square

type square struct {
	side float64
}

func NewSquare(s float64) square {
	return square{s}
}

func (s *square) Area() float64 {
	return s.side * s.side
}

func (s *square) GetSide() float64 {
	return s.side
}
